package com.example.demo.mapper;

import com.example.demo.entity.Entertainment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface KyMapper {
    List<Entertainment> findKy();
    public void addKy(Map<String,String> map);
    public void updateKy(Map<String,String> map);

    public void delByEid(@Param("eid") String eid);
    Entertainment findByEid(@Param("eid") String eid);


}
